﻿@model EnetaMvc.ApplicationServices.Dto.HtmlControlDto

@{
    ViewBag.Title = "Html Controls";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<div class="content-txt">
    <h2>Html Controls</h2>

    <fieldset>
        <legend>Html Control - Details</legend>

        <div class="display-label">Title</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Title)
        </div>

        <div class="display-label">Token</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Token)
        </div>

        <div class="display-label">Body</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Body)
        </div>

        <div class="display-label">Visible</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Visible)
        </div>

        <div class="display-label">OrderPosition</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.OrderPosition)
        </div>
    </fieldset>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
        @Html.ActionLink("Back to List", "Index")
    </p>
</div>